﻿@{
    Layout = null;
    var app = (FOModels.Articles.ArticlesModels)ViewBag.AppConfig;
    var ads = (FOModels.Ads.AdsModels)ViewBag.Ads;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="keywords" content="tiet kiem,so sanh the tin dung,so sánh thẻ tín dụng,dịch vụ ngân hàng,vay von,so sanh,ngan hang dien tu,vay mua xe,vay mua nha,so sanh tai chinh, the tin dung,vay von ngan hang,lam the tin dung,lam the atm,the atm,the mua sam,the nha hang,the du lich" />
    <meta name="description" content="VnBankNet là website cung cấp dịch vụ tài chính như: so sánh thẻ tín dụng, thẻ atm, vay vốn ngân hàng, đầu tư chứng khoán để giúp bạn tiết kiệm tối đa chi phí" />
    <meta name="title" content="@FOResource.UI.Layout.lblhome - @Html.Action("getSiteTitle", "AppConfig")" />
    <meta property="og:title" content="@FOResource.UI.Layout.lblhome - @Html.Action("getSiteTitle", "AppConfig")" />
    <meta property="og:url" content="@Request.Url.AbsoluteUri" />
    <meta property="og:image" content="@Request.Url.GetLeftPart(UriPartial.Authority)/content/images/vnbanknet_fb.png" />
    <link rel="canonical" href="@Request.Url.AbsoluteUri" />
    <link rel="shortlink" href="@Request.Url.AbsoluteUri" />
    <link rel="shortcut icon" href="@Request.Url.GetLeftPart(UriPartial.Authority)/content/images/icon-web.png" />
    <meta property="fb:app_id" content="413438472108430" />
    <meta property="og:site_name" content="@Request.Url.AbsoluteUri" />
    <meta property="og:type" content="website" />
    <meta property="fb:admins" content="100002361799811" />
    <meta property="og:description" content="VnBankNet là website cung cấp dịch vụ tài chính như: so sánh thẻ tín dụng, thẻ atm, vay vốn ngân hàng, đầu tư chứng khoán để giúp bạn tiết kiệm tối đa chi phí." />
    <meta name="google-site-verification" content="AFmNZKAw9ITLuoLns4Xt9VCRNk-Fuu80PY4dMSXG7b8" />
    <title>@FOResource.UI.Layout.lblhome | @Html.Action("getSiteTitle", "AppConfig")</title>
    <link href="@Url.Content("/content/css/style_home.css")" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/content/css/bootmetro.css")" />
    <link href="@Url.Content("~/Content/css/bootstrap.min.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("/content/js/jquery.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("/content/js/dropdowntabs.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/javascript.js")"></script>
    <script type="text/javascript" src="@Url.Content("/content/js/jquery-1.7.1.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("/content/js/jquery.ui.widget.js")"></script>
    <link href="/Content/css/jquery.fancybox.css" type="text/css" rel="stylesheet" />
    <script src="/Content/js/jquery.fancybox.pack.js" type="text/javascript"></script>
    <!--Metro UI-->
    <script src="@Url.Content("/content/js/MetroJs.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("/content/js/MetroJs.js")" type="text/javascript"></script>
    <script src="/content/js/jquery.cookie.js" type="text/javascript"></script>

    <!--Metro UI-->
    <!--[if IE]>
         <link href="@Url.Content("/content/css/style_home_ie.css")" type="text/css" rel="stylesheet" /> 
    <![endif]-->
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
  {lang: '@FOResource.UI.Layout.lang'}
    </script>
    <script type="text/javascript">
        (function (i, s, o, g, r, a, m) {
            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date(); a = s.createElement(o),
            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-43918008-1', 'vnbanknet.com');
        ga('send', 'pageview');

    </script>
    <script type="text/javascript">
        (function (d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/@FOResource.UI.Layout.langfb/all.js#xfbml=1&appId=413438472108430";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
    </script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".metro-demo").liveTile();
            $(".metro-demo-small").liveTile();
            $(".a-popup").fancybox({
                wrapCSS: 'fancybox-custom',
                openEffect: 'fade',
                closeEffect: 'fade',
                helpers: {
                    title: {
                        type: 'float'
                    }
                }
            });
            $(function () {

                $('#house-mainnav li').hover(
                            function () {

                                $(this).animate({ 'borderLeftWidth': '12px' }, 'fast');

                            }, function () {

                                $(this).animate({ 'borderLeftWidth': '4px', }, 'fast');
                            }
                );
            });
        });
    </script>
</head>
<body>
    <div id="AppUrl" style="display: none;">@Request.Url.GetLeftPart(UriPartial.Authority)</div>
    <div id="CurrentLangCode" style="display: none;">@Request.Cookies["_culture"]["lang"]</div>
    <div id="vncontent">
        <div id="vnheader">
            <div id="vnheader-space">
                <div id="vnlogo">
                    <a href="/">
                        <img alt="VnBankNet" src="@Url.Content("/content/images/" + FOResource.UI.Layout.vnbanknetlogo + "")"/></a>
                </div>
                <!--end vnlogo-->
                <div id="vntopnavi">
                    <div class="vntopsmo">

                        @Html.Action("LanguageZone", "LayoutHelper")

                    </div>
                    <!--end vntopsmo-->
                    <div id="vndivspace">
                        @if (User.Identity.Name != "")
                        {
                            @Html.Action("AccountLogin", "Account")
                        }
                        else
                        {
                            <p>
                                <a href="/login">@FOResource.UI.Layout.lbllogin</a>|<a target="_blank" href="http://id.savemoney.vn/Home/Register">@FOResource.UI.Layout.lblresgister</a>

                            </p>  
                        }
                    </div>
                    <!--end vntopnavi-->
                    <div class="clr"></div>
                    <h2 class="title-home">@FOResource.UI.Layout.titlehome</h2>
                </div>
                <!--end vntopnavi-->
            </div>
            <!--vnheader-space-->
        </div>
        <!--end header-->
        <div id="vncomponent">
            <div id="vnboxmenu">
                <div id="vnmenu">
                    <div id="colortab" class="ddcolortabs">

                        @Html.Action("getmainmenu", "PartialView")


                        <script type="text/javascript">
                            tabdropdown.init("colortab", 3)
                        </script>
                    </div>
                </div>
                <!--end vnmenu-->
            </div>
            <!--end vnboxmenu-->

        </div>
        <!--end component-->
        <div id="vnwrapper">
            <div id="vn-box">
                <div id="vnbackground-image-container">
                    <img src="@Url.Content("~/Content/images/" + FOResource.UI.Layout.banner + "")" alt="" width="980" height="420" />
                </div>
                <div id="vnsaving-campaign">
                    <div id="vnsavingcampaign-right">
                        <h1 id="tagline">@FOResource.UI.Layout.slogan</h1>
                        <p class="tagline-copy">@FOResource.UI.Layout.saveto</p>
                        @Html.Action("gettop5highlight", "PartialView")
                    </div>
                </div>
                <div id="vnmain-content">
                    <div id="vnboxcontainer">
                        <div class="container-fluid">
                            <div class="row-fluid">
                                <div class="metro span12">
                                    <div class="metro-sections">
                                        <div id="section1" class="metro-section tile-span-r">
                                            <div class="metro-demo bg-color-orange" data-mode="carousel" data-speed="500" data-delay="15000">
                                                @Html.Action("getslidewinpos3", "PartialView")
                                            </div>
                                            <div class="metro-demo bg-color-purple" data-mode="carousel" data-speed="500" data-delay="29000">
                                                @Html.Action("getslidewinpos2", "PartialView")

                                            </div>
                                            <div class="metro-demo-small bg-color-green" data-mode="carousel" data-speed="500" data-delay="26000">

                                                @Html.Action("getslidewinpos4", "PartialView")

                                            </div>
                                            <div class="metro-demo bg-color-purple" data-mode="carousel" data-speed="500" data-delay="11000">

                                                @Html.Action("getslidewinpos9", "PartialView")
                                            </div>



                                            <div class="metro-demo bg-color-purple" data-mode="carousel" data-speed="500" data-delay="19000">
                                                @Html.Action("getslidewinpos6", "PartialView")


                                            </div>
                                            <div class="metro-demo-small bg-color-online" data-mode="carousel" data-speed="500" data-delay="19000">

                                                @Html.Action("getslidewinpos7", "PartialView")
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="vnmain">
                        <div id="vnintro" style="width: 100%;">
                            @if (app != null)
                            {
                                @Html.Raw(app.Content)
                            }

                        </div>
                    </div>
                </div>
                <!--vnmaincontent-->
                <div id="vnleft-content" style="float: left;">
                    <!-- <div id="vnads-right" style="overflow: hidden;">
                        @if (ads != null)
                        {
                        <a class="a-popup" href="#ads-index-popup">
                            <img alt="@ads.AdsName" src="/Content/Upload/Images/@ads.AdsImg" class="img-ads" />

                        </a>
                        <a class="ads-left-popup" id="ads-index-popup" href="@ads.AdsUrlImgInfo">
                            <img  src="/Content/Upload/Images/@ads.AdsImgInfo" alt="@ads.AdsName" />
                        </a>
                        }
                        else
                        {
                            <img alt="vnbanknet" src="/Content/images/ads.png" class="img-ads" />
                        }
                    </div> -->
                    <!--end vnads-right-->
                    <div class="box-adv-bank">
                        <div class="vnads-right" style="overflow: hidden; margin-bottom: 10px;">
                            <a class="a-popup" href="#ads-index-popup1">
                                <img alt="Quảng cáo HD Bank trang chủ" src="/Content/Upload/Images/ads-hdbank-240x300.png" class="img-ads">
                            </a>
                            <div class="ads-left-popup" id="ads-index-popup1" style="display: none;">
                                <div style="width: 738px; height: 300px; background: url(http://www.vnbanknet.com/Content/Upload/Images/banner-hdbank-300x738.png); position: relative;">
                                    <a title="Thẻ HDCard" style="height: 40px; width: 62px; display: block; position: absolute; bottom: 68px; left: 217px;" id="a-href-1" href="http://www.vnbanknet.com/atm-card/ngan-hang-hdbank/the-ghi-no-noi-dia-hdbank-/97"></a>
                                    <a title="Thẻ ghi nợ Quốc tế Visa" style="height: 40px; width: 62px; display: block; position: absolute; bottom: 68px; left: 287px;" id="a-href-2" href="http://www.vnbanknet.com/atm-card/ngan-hang-hdbank/the-ghi-no-quoc-te-hdbank-visa-vang/96"></a>
                                    <a title="Thẻ ghi nợ Quốc tế HDBank Visa" style="height: 40px; width: 62px; display: block; position: absolute; bottom: 68px; left: 358px;" id="a-href-3" href="http://www.vnbanknet.com/credit-card/ngan-hang-hdbank/the-tin-dung-quoc-te-hdbank-visa-vang/94"></a>
                                    <a title="Thẻ chi lương" style="height: 40px; width: 62px; display: block; position: absolute; bottom: 68px; left: 431px;" id="a-href-4" href="http://www.vnbanknet.com/atm-card/ngan-hang-hdbank/the-ghi-no-noi-dia-hdbank-/97"></a>
                                </div>


                            </div>
                        </div>
                        <div class="clr"></div>
                        <div class="vnads-right" style="overflow: hidden;">
                            <a class="a-popup" href="#ads-index-popup">
                                <img alt="Quảng cáo VP Bank trang chủ" src="/Content/Upload/Images/vpbank-index-300x240.gif" class="img-ads" />
                            </a>
                            <a class="ads-left-popup" id="ads-index-popup" href="/internet-banking/ngan-hang-vp-bank/internet-banking/5">
                                <img src="/Content/Upload/Images/vp-bank-index.jpg" alt="Quảng cáo VP Bank trang chủ">
                            </a>
                        </div>
                    </div>
                    <div class="clr"></div>
                    <div id="vnbanknet-facebook">
                        <div class="fb-like-box" data-href="http://facebook.com/vnbanknet" data-width="300" data-height="270" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false"></div>
                    </div>
                    <div class="clr"></div>
                    <div style="margin-left: 10px; margin-top: 7px;">
                        <!-- AddThis Button BEGIN -->
                        <div class="addthis_toolbox addthis_default_style ">
                            <a class="addthis_button_preferred_1"></a>
                            <a class="addthis_button_preferred_2"></a>
                            <a class="addthis_button_preferred_3"></a>
                            <a class="addthis_button_preferred_4"></a>
                            <a class="addthis_button_compact"></a>
                            <a class="addthis_counter addthis_bubble_style"></a>
                        </div>
                        <script type="text/javascript">var addthis_config = { "data_track_addressbar": true };</script>
                        <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51fbaa305412a27e"></script>
                        <!-- AddThis Button END -->
                    </div>
                </div>

                <div class="clr"></div>
                <!--   <h2 id="h2-partner">@FOResource.UI.Layout.Serviceprovider</h2>
                <div class="logo-partner">
                    @Html.Action("getPartnerList", "PartialView")
                </div>
                <div class="clr"></div> -->
            </div>
            <!--end vnbox-->
            <div id="vnbox-tab">
                <ul id="vnul-tab">
                    <li class="tab-container selected-tab"><a class="tab-header" href="#tab-footer-1">@FOResource.UI.Layout.comparemore</a></li>
                    <li class="tab-container"><a class="tab-header" href="#tab-footer-2">@FOResource.UI.Layout.newsandvideo</a></li>
                </ul>
                <div class="clr"></div>
                <div class="vncontent-tab" id="tab-footer-1" style="display: block;">
                    @Html.Action("getbottommenu", "PartialView")
                </div>
                <div class="vncontent-tab" id="tab-footer-2" style="display: none;">
                    <div id="latestContent" class="tab-container-column">
                        <div class="tab-container-column-values">
                            <h3>@FOResource.UI.Layout.news</h3>
                            <p>@FOResource.UI.Layout.news1</p>
                            <ul>
                                @{
                                    try
                                    {
                                        System.Xml.Linq.XDocument xdoc = System.Xml.Linq.XDocument.Load("http://knowledge.savemoney.vn/News/topnews?lang=" + (Request.Cookies["_culture"]["lang"] == "vi-VN" ? "1" : "2"));
                                        var itemNodes = xdoc.Descendants("article");
                                        foreach (var node in itemNodes)
                                        {
                                            var items = node.Elements("items");
                                            foreach (var item in items)
                                            {
                                    <li class="news">
                                        <h4>
                                            <a target="_blank" href="@item.Element("linknews").Value">@item.Element("title").Value</a>
                                        </h4>
                                        <p><em>@item.Element("date").Value</em></p>
                                    </li>
                      
                                            }
                                        }
                                    }
                                    catch
                                    { }
                                }

                            </ul>
                        </div>
                    </div>
                    <div id="mostPopular" class="tab-container-column">
                        <div class="tab-container-column-values">
                            <h3>@FOResource.UI.Layout.news3</h3>
                            <p>@FOResource.UI.Layout.news4</p>
                            <ul>

                                @{ 
                                    try
                                    {
                                        System.Xml.Linq.XDocument xxdoc = System.Xml.Linq.XDocument.Load("http://knowledge.savemoney.vn/News/hotnews?lang=" + (Request.Cookies["_culture"]["lang"] == "vi-VN" ? "1" : "2"));
                                        var xitemNodes = xxdoc.Descendants("article1");
                                        foreach (var node in xitemNodes)
                                        {
                                            var items = node.Elements("items1");
                                            foreach (var item in items)
                                            {
                                    <li class="popular">
                                        <h4>
                                            <a target="_blank"  href="@item.Element("linknews1").Value">@item.Element("title1").Value</a>
                                        </h4>
                                        <p><em>@item.Element("date1").Value</em></p>
                                    </li>
                      
                                            }
                                        }
                                    }
                                    catch { }       
                                }

                            </ul>
                        </div>
                    </div>
                    <div id="editorschoice" class="tab-container-column">
                        <div class="tab-container-column-values">
                            <h3>@FOResource.UI.Layout.news6</h3>
                            <p>@FOResource.UI.Layout.news7</p>
                            <ul>
                                @{ 
                                    try
                                    {
                                        System.Xml.Linq.XDocument xxxdoc = System.Xml.Linq.XDocument.Load("http://knowledge.savemoney.vn/News/topcoment?lang=" + (Request.Cookies["_culture"]["lang"] == "vi-VN" ? "1" : "2"));
                                        var xxitemNodes = xxxdoc.Descendants("article");
                                        foreach (var node in xxitemNodes)
                                        {
                                            var items = node.Elements("items");
                                            foreach (var item in items)
                                            {
                                    <li class="editorschoice">
                                        <h4>
                                            <a target="_blank"  href="@item.Element("newslinkcom").Value">@item.Element("content").Value</a>
                                        </h4>
                                        <p><em>@item.Element("date").Value</em></p>
                                    </li>
                      
                                            }
                                        }
                                    }
                                    catch { }   
                                }
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="clr"></div>
            </div>
        </div>
        <!--end wrapper-->
        <div class="clr"></div>
        <div id="mainBottom" class="gkMain gkWrap clear">
            <div id="gkBottom1">

                @Html.Action("gettopmenu", "PartialView")





            </div>
            <div id="gkFooter" class="gkMain">
                <div id="gkCopyrights">
                    Copyright © 2013 VNBANKNET<br />
                    @FOResource.UI.Layout.footer
                    <a href="https://plus.google.com/107888323424177942124" rel="publisher">VNBankNet @FOResource.UI.Layout.VNBankNetong

                    </a>
                    <!-- Place this tag where you want the widget to render. -->
                    <div class="g-follow" data-annotation="bubble" data-height="15" data-href="https://plus.google.com/107888323424177942124" data-rel="publisher"></div>

                    <!-- Place this tag after the last widget tag. -->
                    <script type="text/javascript">
                        (function () {
                            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                            po.src = 'https://apis.google.com/js/plusone.js';
                            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                        })();
                    </script>
                </div>
            </div>


        </div>
        <!--end wrapper-->
    </div>
    <!--end content -->
    <div id="toolbox">
        <ul>
            <li class="toTop"><a id="back-top" class="to_top" href="#back-to-top" title="@FOResource.UI.Layout.backtotop"></a></li>
            <li class="knowledge"><a target="_blank" id="knowledge-tool" href="http://knowledge.savemoney.vn/" title="@FOResource.UI.Layout.knowledge"></a></li>
            <li class="facebook"><a id="facebook-like-tool" href="#dialog" title="@FOResource.UI.Layout.WeonFB"></a></li>
            <li class="email"><a id="email-tool" href="#" title="Email"></a></li>
            <li class="phone"><a id="phone-tool" href="#" title="@FOResource.UI.Layout.phone"></a></li>
            <li class="livechat">
                <a id="btnlivechatpop" title="@FOResource.UI.Layout.supportonline" href="http://livechat.vnbanknet.com/client.php" target="_blank">LiveChat</a>
            </li>
        </ul>
    </div>
    <div id="dialog" style="display: none;">
        <div style="margin-top: -109px;">
            <div class="header-tool">@FOResource.UI.Layout.WeonFB</div>
            <div class="content-tool">
                <div>
                    <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fvnbanknet&amp;width&amp;height=62&amp;colorscheme=light&amp;show_faces=false&amp;header=true&amp;stream=false&amp;show_border=true&amp;appId=413438472108430" scrolling="no" frameborder="0" style="border: none; overflow: hidden; height: 80px;" allowtransparency="true"></iframe>
                </div>
            </div>
            <div class="action">
                <button class="btnCancel">@FOResource.UI.Layout.close</button>
            </div>
        </div>
    </div>

</body>
</html>
